/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hotgammon.domain.game.move;

import hotgammon.domain.board.Board;
import hotgammon.domain.board.Color;
import hotgammon.domain.board.Location;
import hotgammon.domain.*;

/**
 *
 * @author truck
 */
public interface MoveStrategy {

    /**
     * tests wheter the move is valid..
     * @param from Location
     * @param to Location
     * @return false or true if its a valid move or not
     */
    public boolean isValidMove(Board b, Location from, Location to,
            int[] movesLeft, Color playerInTurn);
    public int[] removeDice(int[] dice, Location from, Location to);
}
